package cn.sanch.pet.service;

import cn.sanch.pet.domain.Pet;
import cn.sanch.basic.service.IBaseService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Sanch
 * @since 2022-06-15
 */
public interface IPetService extends IBaseService<Pet> {

    /**
     * 宠物批量上架
     * @param ids
     */
    void onsale(Long[] ids, HttpServletRequest request);

    /**
     * 宠物批量下架
     * @param ids
     */
    void offsale(Long[] ids);
}
